<!DOCTYPE html>
<html lang="en">
<head>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="app">
        <div v-bind:style="{backgroundColor:rick,width:width,height:height}">
            <div v-bind:style="myDiv">Rick nb!</div>
        </div>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                rick :'lightblue',
                width :'100%',
                height :'200px',
                myDiv :{
                    backgroundColor :'#4DFFFF',
                    width :'100px',
                    height :'100px',
                    margin :'auto',
                    color :'blue'
                }
            }
        })
    </script>
</body>
</html>